let animation = wx.createAnimation({
  duration: 200,
  timingFunction: 'linear'
})
const fadeOut = animation.opacity(0).step().export()
const fadeIn = animation.opacity(1).step().export()
const slideInUp = animation.translateY(0).step().export()
const slideOutBottom = animation.translateY('100%').step().export()
let right = animation.translateX(30).step().export()
let left = animation.translateX(0).step().export()
export {
  fadeIn,
  fadeOut,
  slideInUp,
  slideOutBottom,
  right,
  left
}